import { Navigate } from 'react-router'
import Home from '../pages/Sandbox/Home'
import NoPermission from '../components/NoPermission'
import StudentList from '../pages/Sandbox/StudentList'
import TeacherList from '../pages/Sandbox/TeacherList'
import SelectedTeacher from '../pages/Sandbox/SelectedTeacher'

// eslint-disable-next-line import/no-anonymous-default-export
export default [
    {
        path: '/home',
        element: <Home />
    },
    {
        path: '/student-list',
        element: <StudentList />
    },
    {
        path: '/select-teacher',
        element: <TeacherList />
    },
    {
        path: '/selected',
        element: <SelectedTeacher />
    },
    {
        path: '/',
        element: <Navigate to='home' />
    },
    {
        path: '*',
        element: <NoPermission />
    }
]